home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ PCMCIA.xpl < prev    next >
Text File  |  2000-08-07  |  1KB  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\PCMCIA"
  5. "NAME"="PCMCIA Card Settings"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Disable Display Warning on card removal"
  9. "DESCRIPTION 1"="PCMCIA card removal warning."
  10. "AUTHOR"="Ojatex@aol.com"
  11. "CONTACTURL"="http://members.aol.com/ojatex/"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"=" "
  14.  
  15.  
  16. Sub Plugin_Initialize 
  17.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray\PCMCIAFlags")
  18.  if i=1 then SetUIElement 1,true
  19. End Sub
  20.  
  21.  
  22. Sub Plugin_CheckData(ElementIndex)
  23. End Sub
  24.  
  25.  
  26.  
  27. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  28.  b=GetUIElement(1)
  29.  if b=true then
  30.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray\PCMCIAFlags","1",2)
  31.  else
  32.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\SysTray\PCMCIAFlags","0",2)
  33.  end if
  34. End Sub
  35.  
  36.  
  37. Sub Plugin_Terminate 
  38. End Sub
  39.  
  40.  
  41.  
  42.